home *** CD-ROM | disk | FTP | other *** search
- MACRO COMMANDS
-
- NYWord allows you to type in keystroke macros and textual macros, and
- to save them along with your document. You are also able to read in a
- library of pre-defined macros.
-
- <CAPTURE> (the F4 key) captures the keystrokes that you type, and
- keeps them in a buffer. Pressing <CAPTURE> again will stop the capture
- operation.
- <REPLAY> (the F3 key) will replay the captured keystrokes. This
- command can also be preceded by an optional count.
-
- <USE MACRO> (the ALT F3 key) executes a macro that you have previously
- defined. You are prompted for the name of the macro type it in, or
- type a '?' to view all previously defined macros. This command may be
- preceded by an optional count (ie <ESC> 3 <USE MACRO> a will execute
- macro 'a' three times.)
-
- <DEFINE MACRO> (the ALT F4 key) allows to user to create a macro. When
- prompted for the name of the macro, the user has several options :
- '?' views all currently defined macros
- 'cap' initiates capture mode. Any keystrokes you type will not only
- affect the text, but will be 'captured' in a buffer as well. To end
- the capture process, press the <DEFINE MACRO> key again.
- 'read' allows you to read in a macro file. You are prompted for the
- name of the macro file - type it in. The macros in that file will now
- be attached to your file.
- Any other name will cause a 'regular' macro to be defined. You are
- faced with a blank screen. Just type the macro as you would normal
- text. Then type <CTRL> D to exit the definition.
-
- Macros which are read in, and 'regular' macros are saved along
- with your document. When you edit the document again, the macros you
- defined will be left intact, and you can use them at any time.
-
- The format of a macro file is :
- macro name
- lines containing the definition
- . (a period in column 1 followed by a <RETURN>)
- <0 or more blank lines>
- macro name 2
- macro definition 2
- .
- (etc)
-